﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;

namespace HAL_WebAPI_Demo.App_Start
{
    public class RouteConfig
    {
        public static void RegisterRoutes(HttpRouteCollection routes)
        {
            routes.MapHttpRoute("AccountsRoute", "accounts/{id}", new { controller = "Home" });
            routes.MapHttpRoute("EmployeesRoute", "employees/{id}", new { controller = "Employees" });
        }
    }
}